<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::layout::RowMajorBlockLinear&lt; BlockRows, BlockColumns &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1layout.html">layout</a></li><li class="navelem"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">RowMajorBlockLinear</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="structcutlass_1_1layout_1_1RowMajorBlockLinear-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cutlass::layout::RowMajorBlockLinear&lt; BlockRows, BlockColumns &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="layout_2matrix_8h_source.html">matrix.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4b71b9a7a3e0f9972885798861a18d25"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> = int32_t</td></tr>
<tr class="memdesc:a4b71b9a7a3e0f9972885798861a18d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index type used for coordinates.  <a href="#a4b71b9a7a3e0f9972885798861a18d25">More...</a><br /></td></tr>
<tr class="separator:a4b71b9a7a3e0f9972885798861a18d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080409ff8bd04625b959055476271840"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a> = int64_t</td></tr>
<tr class="memdesc:a080409ff8bd04625b959055476271840"><td class="mdescLeft">&#160;</td><td class="mdescRight">Long index type used for offsets.  <a href="#a080409ff8bd04625b959055476271840">More...</a><br /></td></tr>
<tr class="separator:a080409ff8bd04625b959055476271840"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad64c1c9f54b83558e76db33615c75b2a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#ad64c1c9f54b83558e76db33615c75b2a">TensorCoord</a> = <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a></td></tr>
<tr class="memdesc:ad64c1c9f54b83558e76db33615c75b2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical coordinate.  <a href="#ad64c1c9f54b83558e76db33615c75b2a">More...</a><br /></td></tr>
<tr class="separator:ad64c1c9f54b83558e76db33615c75b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a824db2e39add87bd14c1e3af8d0071bf"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt; <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a7f37ee2ad80dd5c0d75cf12fd4da74b8">kStrideRank</a>, <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> &gt;</td></tr>
<tr class="memdesc:a824db2e39add87bd14c1e3af8d0071bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stride vector.  <a href="#a824db2e39add87bd14c1e3af8d0071bf">More...</a><br /></td></tr>
<tr class="separator:a824db2e39add87bd14c1e3af8d0071bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac9c5464ff08cbf9a00a9bd6e87b4367e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#ac9c5464ff08cbf9a00a9bd6e87b4367e">RowMajorBlockLinear</a> (<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> ldm=0)</td></tr>
<tr class="memdesc:ac9c5464ff08cbf9a00a9bd6e87b4367e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor.  <a href="#ac9c5464ff08cbf9a00a9bd6e87b4367e">More...</a><br /></td></tr>
<tr class="separator:ac9c5464ff08cbf9a00a9bd6e87b4367e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9faa57c538087f23bc1fe4abf0f6822b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a9faa57c538087f23bc1fe4abf0f6822b">operator()</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;coord) const </td></tr>
<tr class="separator:a9faa57c538087f23bc1fe4abf0f6822b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcb565659a5e7e3a601eb993d43ea71c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#abcb565659a5e7e3a601eb993d43ea71c">inverse</a> (<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a> offset) const </td></tr>
<tr class="memdesc:abcb565659a5e7e3a601eb993d43ea71c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inverse of layout function, mapping linear offset to logical coordinate.  <a href="#abcb565659a5e7e3a601eb993d43ea71c">More...</a><br /></td></tr>
<tr class="separator:abcb565659a5e7e3a601eb993d43ea71c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a2fa9241d7a75dd8c3dbe6a5070d18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a78a2fa9241d7a75dd8c3dbe6a5070d18">stride</a> () const </td></tr>
<tr class="memdesc:a78a2fa9241d7a75dd8c3dbe6a5070d18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a78a2fa9241d7a75dd8c3dbe6a5070d18">More...</a><br /></td></tr>
<tr class="separator:a78a2fa9241d7a75dd8c3dbe6a5070d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addfc2c5b1a65f3a3d5c6aa39edf7ff42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#addfc2c5b1a65f3a3d5c6aa39edf7ff42">stride</a> ()</td></tr>
<tr class="memdesc:addfc2c5b1a65f3a3d5c6aa39edf7ff42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#addfc2c5b1a65f3a3d5c6aa39edf7ff42">More...</a><br /></td></tr>
<tr class="separator:addfc2c5b1a65f3a3d5c6aa39edf7ff42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a599f93fa2e0b2c76f3fd5e050f4d377a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a599f93fa2e0b2c76f3fd5e050f4d377a">stride</a> (int idx) const </td></tr>
<tr class="memdesc:a599f93fa2e0b2c76f3fd5e050f4d377a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a599f93fa2e0b2c76f3fd5e050f4d377a">More...</a><br /></td></tr>
<tr class="separator:a599f93fa2e0b2c76f3fd5e050f4d377a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02596fdc491279212259e1b8518d8bb7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a02596fdc491279212259e1b8518d8bb7">stride</a> (int idx)</td></tr>
<tr class="memdesc:a02596fdc491279212259e1b8518d8bb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a02596fdc491279212259e1b8518d8bb7">More...</a><br /></td></tr>
<tr class="separator:a02596fdc491279212259e1b8518d8bb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e39977f24228d8a2776ca1652336c3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4e39977f24228d8a2776ca1652336c3b">capacity</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;extent) const </td></tr>
<tr class="memdesc:a4e39977f24228d8a2776ca1652336c3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the number of contiguous elements needed to store a tensor with the given size.  <a href="#a4e39977f24228d8a2776ca1652336c3b">More...</a><br /></td></tr>
<tr class="separator:a4e39977f24228d8a2776ca1652336c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a21b674f37ee92e3ef1413ece1e2f6d49"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">RowMajorBlockLinear</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a21b674f37ee92e3ef1413ece1e2f6d49">packed</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;extent)</td></tr>
<tr class="memdesc:a21b674f37ee92e3ef1413ece1e2f6d49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper returns a layout to a tightly packed tensor.  <a href="#a21b674f37ee92e3ef1413ece1e2f6d49">More...</a><br /></td></tr>
<tr class="separator:a21b674f37ee92e3ef1413ece1e2f6d49"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ad52fddc5f2efe0d1bb2468b3f212779b"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#ad52fddc5f2efe0d1bb2468b3f212779b">kRank</a> = 2</td></tr>
<tr class="memdesc:ad52fddc5f2efe0d1bb2468b3f212779b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical rank of tensor.  <a href="#ad52fddc5f2efe0d1bb2468b3f212779b">More...</a><br /></td></tr>
<tr class="separator:ad52fddc5f2efe0d1bb2468b3f212779b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f37ee2ad80dd5c0d75cf12fd4da74b8"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a7f37ee2ad80dd5c0d75cf12fd4da74b8">kStrideRank</a> = 1</td></tr>
<tr class="memdesc:a7f37ee2ad80dd5c0d75cf12fd4da74b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rank of stride vector.  <a href="#a7f37ee2ad80dd5c0d75cf12fd4da74b8">More...</a><br /></td></tr>
<tr class="separator:a7f37ee2ad80dd5c0d75cf12fd4da74b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09702f09686e247483f1767e8aa9ca62"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a09702f09686e247483f1767e8aa9ca62">kBlockRows</a> = BlockRows</td></tr>
<tr class="memdesc:a09702f09686e247483f1767e8aa9ca62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of a block in rows.  <a href="#a09702f09686e247483f1767e8aa9ca62">More...</a><br /></td></tr>
<tr class="separator:a09702f09686e247483f1767e8aa9ca62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a883183edfd68dd8dc3406c7b7164d5"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a5a883183edfd68dd8dc3406c7b7164d5">kBlockColumns</a> = BlockColumns</td></tr>
<tr class="memdesc:a5a883183edfd68dd8dc3406c7b7164d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of a block in columns.  <a href="#a5a883183edfd68dd8dc3406c7b7164d5">More...</a><br /></td></tr>
<tr class="separator:a5a883183edfd68dd8dc3406c7b7164d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;int BlockRows, int BlockColumns&gt;<br />
struct cutlass::layout::RowMajorBlockLinear&lt; BlockRows, BlockColumns &gt;</h3>

<p>Mapping function for block-linear matrices. Matrix is structured as row-major arrangement of 2D tiles (that are row-major) </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a4b71b9a7a3e0f9972885798861a18d25"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> =  int32_t</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a080409ff8bd04625b959055476271840"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a> =  int64_t</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a824db2e39add87bd14c1e3af8d0071bf"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a> =  <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt;<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a7f37ee2ad80dd5c0d75cf12fd4da74b8">kStrideRank</a>, <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad64c1c9f54b83558e76db33615c75b2a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#ad64c1c9f54b83558e76db33615c75b2a">TensorCoord</a> =  <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac9c5464ff08cbf9a00a9bd6e87b4367e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::<a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">RowMajorBlockLinear</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a>&#160;</td>
          <td class="paramname"><em>ldm</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4e39977f24228d8a2776ca1652336c3b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::capacity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>extent</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abcb565659a5e7e3a601eb993d43ea71c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::inverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a>&#160;</td>
          <td class="paramname"><em>offset</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9faa57c538087f23bc1fe4abf0f6822b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a080409ff8bd04625b959055476271840">LongIndex</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>coord</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the offset of a coordinate in linear memory. Assumes coordinate has convention (row, column) </p>

</div>
</div>
<a class="anchor" id="a21b674f37ee92e3ef1413ece1e2f6d49"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">RowMajorBlockLinear</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::packed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>extent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a78a2fa9241d7a75dd8c3dbe6a5070d18"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::stride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="addfc2c5b1a65f3a3d5c6aa39edf7ff42"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a824db2e39add87bd14c1e3af8d0071bf">Stride</a>&amp; <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::stride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a599f93fa2e0b2c76f3fd5e050f4d377a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::stride </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a02596fdc491279212259e1b8518d8bb7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html#a4b71b9a7a3e0f9972885798861a18d25">Index</a>&amp; <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::stride </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a5a883183edfd68dd8dc3406c7b7164d5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::kBlockColumns = BlockColumns</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a09702f09686e247483f1767e8aa9ca62"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::kBlockRows = BlockRows</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad52fddc5f2efe0d1bb2468b3f212779b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::kRank = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7f37ee2ad80dd5c0d75cf12fd4da74b8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int BlockRows, int BlockColumns&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const <a class="el" href="structcutlass_1_1layout_1_1RowMajorBlockLinear.html">cutlass::layout::RowMajorBlockLinear</a>&lt; BlockRows, BlockColumns &gt;::kStrideRank = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="layout_2matrix_8h_source.html">layout/matrix.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
